package com.gc.compay.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * (Order)实体类
 *
 * @author makejava
 * @since 2021-07-23 16:52:43
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_order")
@ApiModel(value = "实体",description = "订单的实体类")
public class Order implements Serializable {
    private static final long serialVersionUID = -56313287674197405L;
    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 客户ID
     */
    @ApiModelProperty(value = "客户ID")
    private Integer clientId;
    /**
     * 车辆ID
     */
    @ApiModelProperty(value = "车辆ID")
    private Integer carId;
    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    /**
     * 租出门店
     */
    @ApiModelProperty(value = "租出门店")
    private Integer brrowShop;
    /**
     * 归还门店
     */
    @ApiModelProperty(value = "归还门店")
    private Integer returnShop;
    /**
     * 总金额
     */
    @ApiModelProperty(value = "总金额")
    private Object totalPrice;
    /**
     * 预付金额
     */
    @ApiModelProperty(value = "预付金额")
    private Object preparidAmount;
    /**
     * 订单状态（输入Entered1，提交Booked2，预约Reserved3，使用中Inuse4，交还Returned5，取消Cancelled6）
     */
    @ApiModelProperty(value = "订单状态")
    private Integer state;
    /**
     * 是否送车上门
     */
    @ApiModelProperty(value = "是否送车上门")
    private String isgetcarathome;
    /**
     * 上门地址ID
     */
    @ApiModelProperty(value = "上门地址ID")
    private String getcarlocation;
    /**
     * 是否上门还车
     */
    @ApiModelProperty(value = "是否上门还车")
    private String isreturncarathome;
    /**
     * 上门地址ID
     */
    @ApiModelProperty(value = "上门地址ID")
    private String returncarlocation;

    private Date addtime;

    private String orderno;


}
